import request from '@/utils/request.js'


export const addstaffservice = (data) => {  
    return request.post('/addCompanyInfo', data);
}
export const deletestaffservice = (data) => {
    return request.delete('/deleteCompanyInfo?id=' + data)
}
export const updatestaffservice = (data) => {
    return request.put('/updateCompanyInfo', data)
}
export const getAllservice = (data) => {
    return request.post('/getCompanyInfo', data);
}
export const uploadfileservice = (data,elseid)=>{//上传文件
    return request.post('/uploadCompanyInfoFile?elseid='+elseid, data);
}


export const getloadfilenameservice = (data)=>{
    return request.get('/getLoadCompanyInfoFileName?elseid='+data);
}

